package com.sync.syncmasterdata;


import com.fasterxml.jackson.databind.ObjectMapper;
import com.sync.syncmasterdata.customer.pojo.LDTCustomer;
import com.sync.syncmasterdata.customer.service.impl.LDTServiceImpl;
import com.sync.syncmasterdata.customer.service.impl.SyncServiceImpl;
import com.sync.syncmasterdata.product.service.ManualSyncInventoryService;
import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

/**
 * LDT 基础资料推送
 */
@SpringBootTest
@Slf4j
class SyncMasterDataApplicationTests7 {

    @Autowired
    private ObjectMapper objectMapper;

    @Autowired
    private LDTServiceImpl ldtService;


    @Test
    public void test1() {
        LDTCustomer entity = new LDTCustomer();
        entity.setOrgId("bab880da-0f32-ec11-8ac7-8ed9e924fb49");
        entity.setOrgName("阿克苏地区妇幼保健院2");
        ldtService.addCustomerToLDT(entity);
    }
}
